import { Component } from '@angular/core';
import { StorageService } from '@core/storage/storage.sercvice';

@Component({
  selector: 'app-contact',
  templateUrl: 'contact.component.html'
})
export class ContactComponent {

  fiends = [
    {yourId: 1, yourName: '好友'}
  ]

  constructor(private storageService: StorageService) {
    this.storageService.get('imInfo').then(res => {
      if(res){
        this.fiends = res.fiends
      }
    });
  }

}
